#include "renderdata.h"

RenderData::RenderData(SDL_Texture *texture, bool owns_texture)
	: texture {texture}, owns_texture {owns_texture}, dst {Vec4(texture)}
{}

inline bool RenderData::visible()
{
	return (on_screen && texture != nullptr);
}